<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<input type="hidden" id="totalPages" th:value="${dataMap['pages']}"/>
<input type="hidden" id="currentPage" th:value="${dataMap['pageNum']}"/>

<li id="no-data-li" th:if="${#maps.isEmpty(dataMap['list'])}">
    <section class="no-data__wrap">
        <em>&nbsp;</em>
        <p>亲，还没有作业哦~~~</p>
    </section>
</li>
<li class="item-content item-link" th:if="!${#maps.isEmpty(dataMap['list'])}"  th:each="task :${dataMap['list']}">
    <a th:href="@{/mobile/uc/operation/operationInfo?taskId={id}(id=${task['id']})}">
        <div class="item-inner">
            <div class="item-title-row">
                <div class="item-title">
                    <span class="button button-success" th:if="${task['status']}==2">已完成</span>
                    <span class="button button-danger"  th:if="${task['status']}!=2" >未完成</span>
                    <span class="fs7 c-000 vam" th:text="${task['name']}">商学院Vip班级作业一</span>
                </div>
            </div>
            <div class="item-subtitle">
                <span class="c-888 fs4" >班级：<span th:each="clas :${task['classesList']}" th:text="${clas['name']}">9999</span></span>
                <span class="c-888 fs4 ml5" th:text="'已提交/总数：'+${task['examPaper']['examNum']} + '/'+${task['examPaper']['useCount']}">已提交/总数：12/48</span>
            </div>
        </div>
    </a>
</li>
</html>